package com.lianzheng.model;

/*
 *  Created on Fri Mar 02 17:48:18 CST 2012
 *
 */
import java.io.Serializable;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.EqualsBuilder;

/**
 * TbDocArticleinfo Base Java Bean
 * 
 * This class is the base class for the model
 * 
 */
 
public class TbDocArticleinfo extends com.lianzheng.model.BaseObject implements Serializable {

    protected String id;
	protected String title;
	protected String author;
	protected String insertuser;
	protected java.util.Date inserttime;
	protected String imageflag;
	protected String imageurl;
	protected byte[] articlecontext;
	protected java.math.BigDecimal readtimes;
	protected String summary;
	protected String verifyer;
	protected java.util.Date verifytime;
	protected String status;
	protected String verifycomment;

	protected java.util.Set tbDocArticleattachGroup = new java.util.HashSet();
	protected java.util.Set tbDocArticletypeGroup = new java.util.HashSet();

  /**
	*
	* Default Empty Constructor for class TbDocArticleinfo
	*
	*/
	public TbDocArticleinfo () {
		super();
	}
	
  /**
	*
	* Default All Fields Constructor for class TbDocArticleinfo
	*
	*/
	public TbDocArticleinfo (
		 String in_id
		,String in_title
		,String in_author
		,String in_insertuser
		,java.util.Date in_inserttime
		,String in_imageflag
		,String in_imageurl
		,byte[] in_articlecontext
		,java.math.BigDecimal in_readtimes
		,String in_summary
		,String in_verifyer
		,java.util.Date in_verifytime
		,String in_status
		,String in_verifycomment
        ) {
		this.setId(in_id);
		this.setTitle(in_title);
		this.setAuthor(in_author);
		this.setInsertuser(in_insertuser);
		this.setInserttime(in_inserttime);
		this.setImageflag(in_imageflag);
		this.setImageurl(in_imageurl);
		this.setArticlecontext(in_articlecontext);
		this.setReadtimes(in_readtimes);
		this.setSummary(in_summary);
		this.setVerifyer(in_verifyer);
		this.setVerifytime(in_verifytime);
		this.setStatus(in_status);
		this.setVerifycomment(in_verifycomment);
    }


	public java.util.Set getTbDocArticleattachGroup () {
		return tbDocArticleattachGroup;
	}	
	
	public void setTbDocArticleattachGroup (java.util.Set in_tbDocArticleattachGroup) {
		this.tbDocArticleattachGroup = in_tbDocArticleattachGroup;
	}

	public java.util.Set getTbDocArticletypeGroup () {
		return tbDocArticletypeGroup;
	}	
	
	public void setTbDocArticletypeGroup (java.util.Set in_tbDocArticletypeGroup) {
		this.tbDocArticletypeGroup = in_tbDocArticletypeGroup;
	}
    
  /**
	*
	* @return String
	*/
	public String getId() {
		return this.id;
	}
	
  /**
	* Set the id
	*/	
	public void setId(String aValue) {
		this.id = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getTitle() {
		return this.title;
	}
	
  /**
	* Set the title
	*/	
	public void setTitle(String aValue) {
		this.title = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getAuthor() {
		return this.author;
	}
	
  /**
	* Set the author
	*/	
	public void setAuthor(String aValue) {
		this.author = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getInsertuser() {
		return this.insertuser;
	}
	
  /**
	* Set the insertuser
	*/	
	public void setInsertuser(String aValue) {
		this.insertuser = aValue;
	}	
  /**
	*
	* @return java.util.Date
	*/
	public java.util.Date getInserttime() {
		return this.inserttime;
	}
	
  /**
	* Set the inserttime
	*/	
	public void setInserttime(java.util.Date aValue) {
		this.inserttime = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getImageflag() {
		return this.imageflag;
	}
	
  /**
	* Set the imageflag
	*/	
	public void setImageflag(String aValue) {
		this.imageflag = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getImageurl() {
		return this.imageurl;
	}
	
  /**
	* Set the imageurl
	*/	
	public void setImageurl(String aValue) {
		this.imageurl = aValue;
	}	
  /**
	*
	* @return byte[]
	*/
	public byte[] getArticlecontext() {
		return this.articlecontext;
	}
	
  /**
	* Set the articlecontext
	*/	
	public void setArticlecontext(byte[] aValue) {
		this.articlecontext = aValue;
	}	
  /**
	*
	* @return java.math.BigDecimal
	*/
	public java.math.BigDecimal getReadtimes() {
		return this.readtimes;
	}
	
  /**
	* Set the readtimes
	*/	
	public void setReadtimes(java.math.BigDecimal aValue) {
		this.readtimes = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getSummary() {
		return this.summary;
	}
	
  /**
	* Set the summary
	*/	
	public void setSummary(String aValue) {
		this.summary = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getVerifyer() {
		return this.verifyer;
	}
	
  /**
	* Set the verifyer
	*/	
	public void setVerifyer(String aValue) {
		this.verifyer = aValue;
	}	
  /**
	*
	* @return java.util.Date
	*/
	public java.util.Date getVerifytime() {
		return this.verifytime;
	}
	
  /**
	* Set the verifytime
	*/	
	public void setVerifytime(java.util.Date aValue) {
		this.verifytime = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getStatus() {
		return this.status;
	}
	
  /**
	* Set the status
	*/	
	public void setStatus(String aValue) {
		this.status = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getVerifycomment() {
		return this.verifycomment;
	}
	
  /**
	* Set the verifycomment
	*/	
	public void setVerifycomment(String aValue) {
		this.verifycomment = aValue;
	}	
   /**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		if (!(object instanceof TbDocArticleinfo)) {
			return false;
		}
		TbDocArticleinfo rhs = (TbDocArticleinfo) object;
		return new EqualsBuilder()
				.append(this.id, rhs.id)
				.append(this.title, rhs.title)
				.append(this.author, rhs.author)
				.append(this.insertuser, rhs.insertuser)
				.append(this.inserttime, rhs.inserttime)
				.append(this.imageflag, rhs.imageflag)
				.append(this.imageurl, rhs.imageurl)
				.append(this.articlecontext, rhs.articlecontext)
				.append(this.readtimes, rhs.readtimes)
				.append(this.summary, rhs.summary)
				.append(this.verifyer, rhs.verifyer)
				.append(this.verifytime, rhs.verifytime)
				.append(this.status, rhs.status)
				.append(this.verifycomment, rhs.verifycomment)
				.isEquals();
	}
	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return new HashCodeBuilder(-82280557, -700257973)
				.append(this.id) 
				.append(this.title) 
				.append(this.author) 
				.append(this.insertuser) 
				.append(this.inserttime) 
				.append(this.imageflag) 
				.append(this.imageurl) 
				.append(this.articlecontext) 
				.append(this.readtimes) 
				.append(this.summary) 
				.append(this.verifyer) 
				.append(this.verifytime) 
				.append(this.status) 
				.append(this.verifycomment) 
				.toHashCode();
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return new ToStringBuilder(this)
				.append("id", this.id) 
				.append("title", this.title) 
				.append("author", this.author) 
				.append("insertuser", this.insertuser) 
				.append("inserttime", this.inserttime) 
				.append("imageflag", this.imageflag) 
				.append("imageurl", this.imageurl) 
				.append("articlecontext", this.articlecontext) 
				.append("readtimes", this.readtimes) 
				.append("summary", this.summary) 
				.append("verifyer", this.verifyer) 
				.append("verifytime", this.verifytime) 
				.append("status", this.status) 
				.append("verifycomment", this.verifycomment) 
				.toString();
	}

	
}